//
//  SegmentIndicatorDataSource.swift
//  PageNavigator
//
//  Created by 张奇 on 2025/8/15.
//

import UIKit

public enum SegmentedIndicatorPosition {
    case top
    case bottom
    case center
}

public class SegmentIndicatorDataSource {
    
    public var position: SegmentedIndicatorPosition = .bottom
    
    let indicators: [SegmentLineIndicatorView]
    
    init(indicators: [SegmentLineIndicatorView]) {
        self.indicators = indicators
    }
    
    public func attach(_ maker: ([SegmentIndicatorProtocol])->Void) {
        fatalError("subclass must implement this method:\(#function)")
    }

}
